import Vue from 'vue'
import 'vant/lib/index.css'
import {
    Cell,
    CellGroup,
    Button,
    Popup,
    Toast,
    Dialog,
    Icon,
    Row,
    Col,
    Tabbar,
    TabbarItem,
    AddressEdit,
    AddressList,
    Checkbox,
    CheckboxGroup,
    Card,
    Stepper,
    SubmitBar,
    Swipe,
    SwipeItem,
    Sku,
    GoodsAction,
    GoodsActionIcon,
    GoodsActionButton,
    Rate,
    Tag,
    CountDown,
    Search,
    Notify,
    Tab,
    Tabs,
    Field,
    Panel,
    List,
    Step,
    Steps,
    Loading,
    CouponCell,
    CouponList,
    Switch,
    Uploader,
    Area,
    Grid,
    GridItem,
    NavBar,
    Form,
    Image as VanImage,
    Picker,
    TreeSelect,
    DropdownMenu,
    DropdownItem,
    NoticeBar
} from 'vant'

Vue.use(Cell)
Vue.use(CellGroup)
Vue.use(Popup)
Vue.use(Button)
Vue.use(Toast)
Vue.use(Dialog)
Vue.use(Icon)
Vue.use(Row)
Vue.use(Col)
Vue.use(Tabbar)
Vue.use(TabbarItem)
Vue.use(AddressEdit)
Vue.use(AddressList)
Vue.use(Checkbox)
Vue.use(CheckboxGroup)
Vue.use(Card)
Vue.use(Stepper)
Vue.use(SubmitBar)
Vue.use(Swipe)
Vue.use(SwipeItem)
Vue.use(Sku)
Vue.use(GoodsAction)
Vue.use(GoodsActionIcon)
Vue.use(GoodsActionButton)
Vue.use(Rate)
Vue.use(Tag)
Vue.use(CountDown)
Vue.use(Search)
Vue.use(Notify)
Vue.use(Tab)
Vue.use(Tabs)
Vue.use(Field)
Vue.use(Panel)
Vue.use(List)
Vue.use(Step)
Vue.use(Steps)
Vue.use(Loading)
Vue.use(CouponCell)
Vue.use(CouponList)
Vue.use(Switch)
Vue.use(Uploader)
Vue.use(Area)
Vue.use(Grid)
Vue.use(GridItem)
Vue.use(NavBar)
Vue.use(Form)
Vue.use(VanImage)
Vue.use(Picker)
Vue.use(TreeSelect)
Vue.use(DropdownMenu)
Vue.use(DropdownItem)
Vue.use(NoticeBar)

Vue.prototype.$dialog = Dialog
Vue.prototype.$toast = Toast